package cn.wolfcode.crm.domain;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Employee {
    private Long id;

    private String name;

    private String password;

    private String email;

    private Integer age;

    private boolean admin;

    private Department dept;
    //编辑员工需要将角色回显,员工可以有多个角色
    private List<Role> list =  new ArrayList();

}